﻿<baseClass:Control xmlns:my1="clr-namespace:EFS.RC.CCAdmin.Classifications"  xmlns:baseClass="clr-namespace:EFS.RC.CCAdmin.Common" xmlns:my="clr-namespace:EFS.Common.UI.Controls;assembly=EFS.Common.UI"  x:Class="EFS.RC.CCAdmin.Customers.Edit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	 xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" d:DesignHeight="508">
	<Grid Width="700" Height="510">
		<my:Header HorizontalAlignment="Stretch" Name="controlHeader" VerticalAlignment="Top" Height="95" Text="Office" />
		<Border Background="#FF585858" Margin="0,95,0,0" Height="1" VerticalAlignment="Top" />
		<Grid Margin="0,96,0,0" Height="412" VerticalAlignment="Top">
			<Grid.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="White" Offset="0.64" />
					<GradientStop Color="WhiteSmoke" Offset="1" />
				</LinearGradientBrush>
			</Grid.Background>
			<sdk:Label Content="Telephone:" Height="19" HorizontalAlignment="Left" Margin="21,22,0,0" Name="label1" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="77" />
			<TextBox Height="27" HorizontalAlignment="Left" Margin="104,18,0,0" Name="textBoxTelephone" VerticalAlignment="Top" Width="225" />
			<sdk:Label Content="Skill:" Height="19" HorizontalAlignment="Left" Margin="21,57,0,0" Name="label3" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="77" />
			<sdk:Label Content="Office:" Height="19" HorizontalAlignment="Left" Margin="21,90,0,0" Name="label4" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="77" />
			<ComboBox Height="26" HorizontalAlignment="Left" Margin="104,52,0,0" Name="comboBoxSkill" VerticalAlignment="Top" Width="225" 
					  ItemsSource="{Binding Path=Name}" 
					  SelectedValue="{Binding Path=ID}" 
					  DisplayMemberPath="Name" SelectedValuePath="ID" />
			<ComboBox Height="26" HorizontalAlignment="Left" Margin="104,85,0,0" Name="comboBoxOffice" VerticalAlignment="Top" Width="225" 
					  ItemsSource="{Binding Path=URI}" 
					  SelectedValue="{Binding Path=ID}" 
					  DisplayMemberPath="URI" SelectedValuePath="ID" />
			<sdk:DataGrid AutoGenerateColumns="False" Height="197" HorizontalAlignment="Left" Margin="21,166,0,0" Name="dataGridClassifications" VerticalAlignment="Top" Width="655">
				<sdk:DataGrid.Columns>
					<sdk:DataGridTextColumn Binding="{Binding Path=Name}" Header="Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTextColumn Binding="{Binding Path=CustomerEndpointPhone}" Header="Phone" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTemplateColumn Header="Edit">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="Edit" Click="EditLink_Click" VerticalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
					<sdk:DataGridTemplateColumn Header="Delete">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="Delete" Click="DeleteLink_Click" HorizontalAlignment="Center" VerticalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
				</sdk:DataGrid.Columns>
			</sdk:DataGrid>
			<Button Content="New Classification" Height="31" HorizontalAlignment="Left" Margin="22,368,0,0" Name="button1" VerticalAlignment="Top" Width="138" Click="button1_Click" />
			<sdk:Label Height="20" HorizontalAlignment="Left" Margin="22,140,0,0" Name="label2" VerticalAlignment="Top" Width="120" Content="Classifications:" />
		</Grid>
	</Grid>
</baseClass:Control>